using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MecRobGest.GUI
{
    public partial class GUINewAlbaranes : Form
    {
        public GUINewAlbaranes()
        {
            InitializeComponent();
        }

        private void albaranesBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.albaranesBindingSource.EndEdit();
            this.albaranesTableAdapter.Update(this.dBDataset.Albaranes);

        }

        private void GUINewAlbaranes_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dBDataset.Albaranes' table. You can move, or remove it, as needed.
            this.albaranesTableAdapter.Fill(this.dBDataset.Albaranes);

            MecRobGest.Database.Controllers.DBDatasetTableAdapters.OpcionesClienteTableAdapter opcionesTableAdapter = new MecRobGest.Database.Controllers.DBDatasetTableAdapters.OpcionesClienteTableAdapter();
            string strlogo = opcionesTableAdapter.getLogotipo();


        }

        private void btnCerrar_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.albaranesBindingSource.EndEdit();
            this.albaranesTableAdapter.Update(this.dBDataset.Albaranes);
            this.Dispose();
        }
    }
}